var express = require('express');
var app = express();
var fs = require('fs');
var staticget = function(url, path) {
  app.get(url, function(req, res) {
    res.end(fs.readFileSync(path));
  });
};
staticget('/demo.html', './demo.html');
staticget('/x.out.js', './x.out.js');
staticget('/x.zip', './x.zip');
staticget('/archive.zip', './archive.zip');
staticget('/output.zip', './output.zip');

var port = 9988;
app.listen(port, function() {
  console.log('listening on ' + port);
});
